<template>
    <div>
        <went :title="title"></went>
        <div style="height: 45px;"></div>
        <div>
            <van-card num="2" price="30.50" desc="描述信息" title="商品标题"
                thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg" />
            <van-stepper v-model="value" theme="round" button-size="22" disable-input />
        </div>
        <van-submit-bar :price="3050" button-text="提交订单" @submit="onSubmit" @click="bth">
            <van-checkbox v-model="checked">全选</van-checkbox>
        </van-submit-bar>
    </div>
</template>

<script setup>
import went from '@/components/went.vue';
const title = '购物车'
import { useCounterStore } from '@/stores/counter'
// 在组件内部的任何地方均可以访问变量 `store` ✨
const store = useCounterStore()
import { useRouter } from 'vue-router';
let router=useRouter('')
let bth=()=>{
    router.push('/ddym')
}
</script>

<style lang="scss" scoped></style>